﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MVC.Models;

namespace MVC.Controllers
{
    public class HomeController : Controller
    {
        JardimEntities jardimDB = new JardimEntities();

        public ActionResult Index()
        {
            
            ViewBag.Message = "Bem-vindo ao Jardim de Infância Online do grupo 5";
            
            return View();          
        }

        public ActionResult Temp()
        {
            return View();
        }

        public ActionResult Servicos()
        {
            return View();
        }

        public ActionResult Actividades()
        {
            return View();
        }

        public ActionResult NossaEquipa()
        {
            return View();
        }

        public ActionResult Galeria()
        {
            return View();
        }

        public ActionResult Localizacao()
        {
            return View();
        }

        public ActionResult Contactos()
        {
            return View();
        }

         [Authorize(Roles = "Administrador")]
        public ActionResult HomeAdmin()
        {
            return View();
        }
         [Authorize(Roles = "Funcionario")]
         public ActionResult HomeFuncionario()
         {
             return View();
         }
        
    }
}
